package cn.sc.summer.elasticsearch.config;import cn.easyes.starter.register.EsMapperScan;import cn.sc.summer.constant.factory.YamlPropertySourceFactory;import cn.sc.summer.constant.project.ProjectConstant;import org.springframework.context.annotation.Configuration;import org.springframework.context.annotation.PropertySource;/** * 类名：elasticsearch配置 * * @author a-xin * @date 2024/9/5 11:19 */@Configuration@EsMapperScan(ProjectConstant.BASE_PACKAGE)@PropertySource(value = "classpath:/summer-elasticsearch.yml", factory = YamlPropertySourceFactory.class)public class ElasticsearchConfig {}